package com.guo.core.framework.arrange.post;

import com.guo.core.framework.arrange.ArrangeReq;
import com.guo.core.framework.arrange.ArrangeRsp;
import com.guo.core.framework.chain.post.Post;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

@Slf4j
@Service
public class MileagePost extends Post<ArrangeReq, ArrangeRsp> {

    @Override
    public void post(ArrangeReq arrangeReq, ArrangeRsp arrangeRsp) {
        log.info("执行里程计算逻辑");
        arrangeRsp.setCarNo(arrangeReq.getCarNo());
        arrangeRsp.setSuccess(Boolean.TRUE);
    }

}
